package com.naiterui.ehp.bs.patient.prodocl.scale;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 量表VO
 * @author wangchuan
 * @since V1.0.0
 */
public class ScaleQA {

    /** 金数据field对应key */
    @JsonIgnore
    private String filed;

    /** 问题 */
    private String question;

    /** 问题类型:1.大标题 2.文本 3.文件/图片 4.矩阵 5.表格 */
    private int type;

    /** 普通答案 */
    private List<String> answers;

    /** 表格类型答案 */
    private TableAnswer table;

    public ScaleQA(String filed, String question) {
        this.filed = filed;
        this.question = question;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public List<String> getAnswers() {
        return answers;
    }

    public void setAnswers(List<String> answers) {
        this.answers = answers;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFiled() {
        return filed;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public TableAnswer getTable() {
        return table;
    }

    public void setTable(TableAnswer table) {
        this.table = table;
    }

    @Override
    public String toString() {
        return "ScaleVO [filed=" + filed + ", question=" + question + ", type=" + type + ", answers=" + answers.toString() + ", table="
                + table.toString() + "]";
    }

}
